package com.gt.app.service;

import com.gt.app.domain.EsMergeDiseaseHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gt.app.domain.dto.EsMergeDiseaseHistoryDto;

/**
 * <p>
 * 合并疾病及手术史表 服务类
 * </p>
 *
 * @author caidesheng
 * @since 2023-09-17
 */
public interface EsMergeDiseaseHistoryService extends IService<EsMergeDiseaseHistory> {

    /**
     * 添加合并疾病及手术史
     * @param esMergeDiseaseHistoryDto
     */
    void add(EsMergeDiseaseHistoryDto esMergeDiseaseHistoryDto);

    /**
     * 根据checkId获取合并疾病及手术史
     * @param checkId
     * @return
     */
    EsMergeDiseaseHistoryDto getMergeDiseaseHistory(String checkId);
}
